clear
log using "E:\FIS_duration\rets_before_after_turn_rep.log"
infix neps 2-5 type 7-7 obs 9-12 nmax 14-17 tmax 19-28 rtbmax 30-38 rtamax 40-48 xsbmax 50-58 xsamax 60-68 nmin 70-73 tmin 75-84 rtbmin 86-94 rtamin 96-104 xsbmin 106-114 xsamin 116-124 using "e:\FIS_duration\ret_bef_aft_min_turn_rep.txt"
summarize rtbmax xsbmax rtbmin xsbmin, detail
summarize rtamax if rtamax > -2, detail
summarize xsamax if xsamax > -2, detail
summarize rtamin if rtamin > -2, detail
summarize xsamin if xsamin > -2, detail
summarize xsamin if rtamin > -2, detail
ttest rtbmax == 0
ttest rtamax == 0 if rtamax > -2
ttest xsbmax == 0
ttest xsamax == 0 if xsamax > -2
ttest rtbmin == 0
ttest xsbmin == 0
ttest rtamin == 0 if rtamin > -2
ttest xsamin == 0 if rtamin > -2
ttest rtbmax == 0 if type == 1
ttest rtbmax == 0 if type == 2
ttest rtbmax == 0 if type == 3
ttest rtamax == 0 if rtamax > -2 & type == 1
ttest rtamax == 0 if rtamax > -2 & type == 2
ttest rtamax == 0 if rtamax > -2 & type == 3
ttest xsbmax == 0 if type == 1
ttest xsbmax == 0 if type == 2
ttest xsbmax == 0 if type == 3
ttest xsamax == 0 if xsamax > -2 & type == 1
ttest xsamax == 0 if xsamax > -2 & type == 2
ttest xsamax == 0 if xsamax > -2 & type == 3
ttest rtbmin == 0 if type == 1
ttest rtbmin == 0 if type == 2
ttest rtbmin == 0 if type == 3
ttest xsbmin == 0 if type == 1
ttest xsbmin == 0 if type == 2
ttest xsbmin == 0 if type == 3
ttest rtamin == 0 if rtamin > -2 & type == 1
ttest rtamin == 0 if rtamin > -2 & type == 2
ttest rtamin == 0 if rtamin > -2 & type == 3
ttest xsamin == 0 if rtamin > -2 & type == 1
ttest xsamin == 0 if rtamin > -2 & type == 2
ttest xsamin == 0 if rtamin > -2 & type == 3
log close